package lightrain.code.util;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;

public class NForm extends NObject<NForm>{

	private static final long serialVersionUID = 1462974852428515392L;
	
	public List<NObject<?>> errors = new ArrayList<NObject<?>>();
	
	
	
	/**
	 * 获取错误消息
	 * @auther Y.hj
	 * @return
	 */
	public String getErrorMsg(){
		return "";
	}
	
	
	public NForm empty(String name,String message){
		return this;
	}
	

	public boolean valid(Consumer<NForm> consumer){
		return true;
	}


	public NForm() {
		super();
		// TODO Auto-generated constructor stub
	}


	public NForm(int initialCapacity, float loadFactor, boolean accessOrder) {
		super(initialCapacity, loadFactor, accessOrder);
		// TODO Auto-generated constructor stub
	}


	public NForm(int initialCapacity, float loadFactor) {
		super(initialCapacity, loadFactor);
		// TODO Auto-generated constructor stub
	}


	public NForm(int initialCapacity) {
		super(initialCapacity);
		// TODO Auto-generated constructor stub
	}


	public NForm(Map<? extends String, ? extends Object> m) {
		super(m);
		// TODO Auto-generated constructor stub
	}


	public NForm(Object... objects) {
		super(objects);
		// TODO Auto-generated constructor stub
	}
	
	

	
}
